package com.huanletao.tran.path;

import org.springframework.util.AntPathMatcher;

public class test {

    public static void main(String[] args) {
        AntPathMatcher antPathMatcher = new AntPathMatcher();

        boolean match = antPathMatcher.match("/**", "/use/list/sf");
        boolean matc1h = antPathMatcher.match("/*", "/use/list");

        System.out.println("match = " + match);
        System.out.println("match = " + matc1h);

    }
}
